for i in range(1,5):
 print(i)
 if(i%3):
    print("*")
 else:
   break
 print("%")
print("over")
